package surreal.triviamaster.utilities;

public class QuizResults {

	@Override
	public String toString() {
		return "QuizResults [numFlagged=" + numFlagged + ", numCorrect="
				+ numCorrect + ", numQuestions=" + numQuestions + "]";
	}

	private int numFlagged;
	private int numCorrect;
	private int numQuestions;
	private int points;

	public QuizResults(int numFlagged, int numCorrect, int numQuestions, int points) {
		this.setNumFlagged(numFlagged);
		this.setNumCorrect(numCorrect);
		this.setNumQuestions(numQuestions);
		this.setPoints(points);
	}

	private void setPoints(int points) {
		this.points=points;		
	}
	
	public int getPoints(){
		return points;
	}

	public int getNumFlagged() {
		return numFlagged;
	}

	public void setNumFlagged(int numFlagged) {
		this.numFlagged = numFlagged;
	}

	public int getNumCorrect() {
		return numCorrect;
	}

	public void setNumCorrect(int numCorrect) {
		this.numCorrect = numCorrect;
	}

	public int getNumQuestions() {
		return numQuestions;
	}

	public void setNumQuestions(int numQuestions) {
		this.numQuestions = numQuestions;
	}

}
